package com.tomcov.client.place;

import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;

public class I18nPlace extends Place{
	
	private String I18nName;

    public I18nPlace(String token) {
        this.I18nName = token;
    }

    public String getI18nName() {
        return I18nName;
    }


    public static class Tokenizer implements PlaceTokenizer<I18nPlace> {
        @Override
        public String getToken(I18nPlace place) {
            return place.getI18nName();
        }

        @Override
        public I18nPlace getPlace(String token) {
            return new I18nPlace(token);
        }
    }

}
